From 64cf31f3483cb085942d5ce7817230d0e972bd14 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 19 Oct 2022 02:40:10 -0400 Subject: [PATCH] buildertool: Fix template handling We were not properly parsing the error message here, leading to badness. --- tools/gtk-builder-tool-validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gtk-builder-tool-validate.c b/tools/gtk-builder-tool-validate.c index aa4069fd36..688903d3dd 100644 --- a/tools/gtk-builder-tool-validate.c +++ b/tools/gtk-builder-tool-validate.c @@ -116,7 +116,7 @@ parse_template_error (const char *message, *p = '\0'; } - return TRUE; + return *class_name && *parent_name; } static gboolean -- 2.30.2